Static Logger class for outputting messages at various levels.
bool ShowDebug
Returns true/false is configured to show debug messages. Can be used to reduce garbage.
bool ShowError
Returns true/false is configured to show error messages. Can be used to reduce garbage.
bool ShowInfo
Returns true/false is configured to show info messages. Can be used to reduce garbage.
bool ShowIO
Returns true/false is configured to show file input/output messages. Can be used to reduce garbage.
bool ShowWarning
Returns true/false is configured to show warning messages. Can be used to reduce garbage.
static bool DebugIfValueChanged(string id, string newValue)
static bool DebugIfValueChanged(string id, int newValue)
Outputs a debug message and returns true when the given value changes.
static void DebugTimerStart()
Starts a StopWatch (timer) for simple debugging purposes.
static void DebugTimerStop(string id)
Stops a StopWatch (timer) for simple debugging purposes and outputs message with time taken.